package top.tangyh.lamp.care.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import static com.baomidou.mybatisplus.annotation.SqlCondition.EQUAL;
import static top.tangyh.lamp.model.constant.Condition.LIKE;
import top.tangyh.basic.base.entity.Entity;


/**
 * <p>
 * 实体类
 * 入科明细表
 * </p>
 *
 * @author zqb
 * @date 2024-07-15 11:16:18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Builder
@TableName("b_hl7_rk_detail")
public class BHl7RkDetail extends Entity<Long> {
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableField(value = "patient_ident", condition = LIKE)
    @Schema(description = "")
    private String patientIdent;
    /**
     * 
     */
    @TableField(value = "hospital_number", condition = LIKE)
    @Schema(description = "")
    private String hospitalNumber;
    /**
     * 
     */
    @TableField(value = "hospital_id", condition = LIKE)
    @Schema(description = "")
    private String hospitalId;
    /**
     * 主治医生id
     */
    @TableField(value = "zz_doctor_ident", condition = LIKE)
    @Schema(description = "主治医生id")
    private String zzDoctorIdent;
    /**
     * 主治医生名称
     */
    @TableField(value = "zz_doctor_name", condition = LIKE)
    @Schema(description = "主治医生名称")
    private String zzDoctorName;
    /**
     * 入科时间
     */
    @TableField(value = "rk_time", condition = EQUAL)
    @Schema(description = "入科时间")
    private LocalDateTime rkTime;
    /**
     * 收治来源
     */
    @TableField(value = "sz_from", condition = LIKE)
    @Schema(description = "收治来源")
    private String szFrom;
    /**
     * 科室id
     */
    @TableField(value = "dept_ident", condition = LIKE)
    @Schema(description = "科室id")
    private String deptIdent;
    /**
     * 科室名称
     */
    @TableField(value = "dept_name", condition = LIKE)
    @Schema(description = "科室名称")
    private String deptName;
    /**
     * 姓名
     */
    @TableField(value = "patient_name", condition = LIKE)
    @Schema(description = "姓名")
    private String patientName;
    /**
     * 床号
     */
    @TableField(value = "bed_number", condition = LIKE)
    @Schema(description = "床号")
    private String bedNumber;
    /**
     * 责任护士id
     */
    @TableField(value = "nurse_ident", condition = LIKE)
    @Schema(description = "责任护士id")
    private String nurseIdent;
    /**
     * 责任护士名称
     */
    @TableField(value = "nurse_name", condition = LIKE)
    @Schema(description = "责任护士名称")
    private String nurseName;
    /**
     * 性别
     */
    @TableField(value = "gender", condition = EQUAL)
    @Schema(description = "性别")
    private Integer gender;
    /**
     * 年龄
     */
    @TableField(value = "age", condition = EQUAL)
    @Schema(description = "年龄")
    private Integer age;
    /**
     * 病区
     */
    @TableField(value = "ward_ident", condition = LIKE)
    @Schema(description = "病区")
    private String wardIdent;

    @TableField(value = "ward_name", condition = LIKE)
    @Schema(description = "病区名称")
    private String wardName;
    /**
     * 出科时间
     */
    @TableField(value = "ck_time", condition = EQUAL)
    @Schema(description = "出科时间")
    private LocalDateTime ckTime;
    /**
     * 
     */

    /**
     * 
     */
    @TableField(value = "measures", condition = LIKE)
    @Schema(description = "入科诊断内容")
    private String measures;

    @TableField(value = "nursing_level", condition = LIKE)
    @Schema(description = "护理等级  护理等级(0=特级/1=一级/2=二级/3=三级) ")
    private String nursingLevel;



}
